/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package questao06;

/**
 *
 * @author Bush
 */
public class Main {
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {        
        Pedido pedido = new Pedido(Pedido.Status.PROCESSANDO);
        try {
            pedido.alterar();
            pedido.enviar();
            pedido.alterar();
        } catch (Exception ex) {
            System.out.println(ex.getMessage());
        }
        
    }
    
}
